home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / Illustrator 6.0 SDK r1 Mac / AI Plugin Interface / AICustomColor.h < prev    next >
Text File  |  1995-12-21  |  2KB  |  88 lines

  1. /**
  2.  
  3.     AICustomColor.h
  4.     Copyright (c) 1995 Adobe Systems Incorporated.
  5.     All Rights Reserved
  6.  
  7.     Adobe Illustrator 6.0 Custom Color Fill Suite.
  8.  
  9.  **/
  10.  
  11. #ifndef __AICustomColor__
  12. #define __AICustomColor__
  13.  
  14.  
  15. /*******************************************************************************
  16.  **
  17.  **    Imports
  18.  **
  19.  **/
  20.  
  21. #include "AITypes.h"
  22. #include "AIColor.h"
  23.  
  24.  
  25. #if Macintosh
  26.     #ifdef __cplusplus
  27.     extern "C" {
  28.     #endif
  29.     
  30.     #if PRAGMA_ALIGN_SUPPORTED
  31.     #pragma options align=mac68k
  32.     #endif
  33.     
  34.     #if PRAGMA_IMPORT_SUPPORTED
  35.     #pragma import on
  36.     #endif
  37. #endif
  38.  
  39.  
  40. /*******************************************************************************
  41.  **
  42.  **    Constants
  43.  **
  44.  **/
  45.  
  46. #define kAICustomColorSuite        "AI Custom Color Suite"
  47. #define kAICustomColorVersion    2
  48.  
  49. #define kAIArtCustomColorChangedNotifier    "AI Art Custom Color Changed Notifier"
  50.  
  51.  
  52. /*******************************************************************************
  53.  **
  54.  **    Suite
  55.  **
  56.  **/
  57.  
  58. typedef struct {
  59.  
  60.     MACPASCAL FXErr (*NewCustomColor) ( AICustomColor *color, AICustomColorHandle *customColor );
  61.     MACPASCAL FXErr (*DeleteCustomColor) ( AICustomColorHandle customColor );
  62.  
  63.     MACPASCAL FXErr (*GetCustomColor) ( AICustomColorHandle customColor, AICustomColor *color );
  64.     MACPASCAL FXErr (*SetCustomColor) ( AICustomColorHandle customColor, AICustomColor *color );
  65.  
  66.     MACPASCAL FXErr (*CountCustomColors) ( long *count );
  67.     MACPASCAL FXErr (*GetNthCustomColor) ( long n, AICustomColorHandle *customColor );
  68.  
  69. } AICustomColorSuite;
  70.  
  71.  
  72. #if Macintosh
  73.     #if PRAGMA_IMPORT_SUPPORTED
  74.     #pragma import off
  75.     #endif
  76.     
  77.     #if PRAGMA_ALIGN_SUPPORTED
  78.     #pragma options align=reset
  79.     #endif
  80.     
  81.     #ifdef __cplusplus
  82.     }
  83.     #endif
  84. #endif
  85.  
  86.  
  87. #endif
  88.